![]() |
PBHSetFInfoAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Sets information for a file.
OSErr PBHSetFInfoAsync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification.
On input, information used by the Finder.
On input, a directory ID.
On input, the date and time of creation.
On input, the date and time of the last modification.
The PBHSetFInfoAsync function sets information (including the date and time of creation and modification, and information needed by the Finder) about the file having the name pointed to by ioNamePtr on the volume specified by ioVRefNum. You should call PBHGetFInfoAsync just before PBHSetFInfoAsync, so that the current information is present in the parameter block.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)